package cn.dxh.stagefinal.dao;

import cn.dxh.stagefinal.bean.Business;
import cn.dxh.stagefinal.bean.Matter;
import cn.dxh.stagefinal.bean.Vehicle;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author: Panjianwei
 * @date: 2019/12/10 15:08
 * 代码是一门艺术，需要我们细细用心品味！
 */
public interface BusinessDao {
    public List<Vehicle>  findVehicleAll();
    public int addBusiness(Business business);
//    业务表的分页模糊查询
    public List<Business> findBusinessAll(Map map);
    public Business findbybid(int bid);
//    修改
    public int udpatebusiness(Business business);
//    删除
    public int updatestatu(int bid);
//    交易确认
    public int updatecheck(int bid);




}
